package cn.basic.social.manager.common;

/**
 * @ClassName RedisCacheCommon
 * @Description redis缓存相关前缀信息
 * @Author zlf
 * @Date 2023/9/4 9:39
 */
public class RedisCachePrefixCommon {

    /**
     * 企业微信
     */
    // access_token缓存Key前缀
    public static final String ACCESS_TOKEN_CACHE_PREFIX = "wx:access_token:";
    // suite_access_token缓存Key前缀
    public static final String SUITE_ACCESS_TOKEN_CACHE_PREFIX = "wx:suite_access_token:";
    // provider_access_token缓存Key前缀
    public static final String PROVIDER_ACCESS_TOKEN_CACHE_PREFIX = "wx:provider_access_token:";
    // suite_ticket缓存Key前缀
    public static final String SUITE_TICKET_CACHE_PREFIX = "wx:suite_ticket:";
    // 明文corpid转换为加密corpid缓存Key前缀
    public static final String CORPID_TO_OPENCORPID_CACHE_PREFIX = "wx:corpidToOpencorpid:";
    // 永久授权码缓存Key前缀
    public static final String PERMANENT_CODE_CACHE_PREFIX = "wx:permanentCode:";

}
